﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace SharedLib.MessageFramework
{
    public partial class MessageDispatcher
    {
        public class HandlerMonitorList : KeyedCollection<string, HandlerMonitor>
        {
            protected override string GetKeyForItem(HandlerMonitor item)
            {
                if (item == null) return null;
                return item.HandlerUID;
            }
        }
    }
}